package com.ying.timed.controller;

import com.ying.common.entity.Response;
import com.ying.timed.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/test")
public class TestController {

    @Autowired
    private TestService testService;

    @GetMapping(value = "/batchInsertTest")
    public Response insertTimed() {
        Response resposne = testService.batchInsertTest();
        return resposne;
    }

}
